package meteocal.business.boundary;

import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import meteocal.business.entity.Weather;

/**
 *
 * @author luana
 */
@Stateless
public class WeatherFacade extends AbstractFacade<Weather> {
    
    @PersistenceContext(unitName = "meteocalPU")
    EntityManager em;

    @Override
    protected EntityManager getEntityManager() {
        return em;
    }

    public WeatherFacade() {
        super(Weather.class);
    }
    
    
    
}
